3.557 \(\int \frac{x^2}{\sqrt{-9+4 x^2}} \, dx\)

Optimal. Leaf size=36 \[ \frac{1}{8} \sqrt{4 x^2-9} x+\frac{9}{16} \tanh ^{-1}\left (\frac{2 x}{\sqrt{4 x^2-9}}\right ) \]

[Out]

(x*Sqrt[-9 + 4*x^2])/8 + (9*ArcTanh[(2*x)/Sqrt[-9 + 4*x^2]])/16

________________________________________________________________________________________

Rubi [A]  time = 0.007637, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {321, 217, 206} \[ \frac{1}{8} \sqrt{4 x^2-9} x+\frac{9}{16} \tanh ^{-1}\left (\frac{2 x}{\sqrt{4 x^2-9}}\right ) \]

Antiderivative was successfully verified.

[In]

Int[x^2/Sqrt[-9 + 4*x^2],x]

[Out]

(x*Sqrt[-9 + 4*x^2])/8 + (9*ArcTanh[(2*x)/Sqrt[-9 + 4*x^2]])/16

Rule 321

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^n
)^(p + 1))/(b*(m + n*p + 1)), x] - Dist[(a*c^n*(m - n + 1))/(b*(m + n*p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{x^2}{\sqrt{-9+4 x^2}} \, dx &=\frac{1}{8} x \sqrt{-9+4 x^2}+\frac{9}{8} \int \frac{1}{\sqrt{-9+4 x^2}} \, dx\\ &=\frac{1}{8} x \sqrt{-9+4 x^2}+\frac{9}{8} \operatorname{Subst}\left (\int \frac{1}{1-4 x^2} \, dx,x,\frac{x}{\sqrt{-9+4 x^2}}\right )\\ &=\frac{1}{8} x \sqrt{-9+4 x^2}+\frac{9}{16} \tanh ^{-1}\left (\frac{2 x}{\sqrt{-9+4 x^2}}\right )\\ \end{align*}

Mathematica [A]  time = 0.005273, size = 36, normalized size = 1. \[ \frac{1}{8} \sqrt{4 x^2-9} x+\frac{9}{16} \tanh ^{-1}\left (\frac{2 x}{\sqrt{4 x^2-9}}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^2/Sqrt[-9 + 4*x^2],x]

[Out]

(x*Sqrt[-9 + 4*x^2])/8 + (9*ArcTanh[(2*x)/Sqrt[-9 + 4*x^2]])/16

________________________________________________________________________________________

Maple [A]  time = 0.005, size = 35, normalized size = 1. \begin{align*}{\frac{x}{8}\sqrt{4\,{x}^{2}-9}}+{\frac{9\,\sqrt{4}}{32}\ln \left ( x\sqrt{4}+\sqrt{4\,{x}^{2}-9} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(4*x^2-9)^(1/2),x)

[Out]

1/8*x*(4*x^2-9)^(1/2)+9/32*ln(x*4^(1/2)+(4*x^2-9)^(1/2))*4^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 1.84864, size = 42, normalized size = 1.17 \begin{align*} \frac{1}{8} \, \sqrt{4 \, x^{2} - 9} x + \frac{9}{16} \, \log \left (8 \, x + 4 \, \sqrt{4 \, x^{2} - 9}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(4*x^2-9)^(1/2),x, algorithm="maxima")

[Out]

1/8*sqrt(4*x^2 - 9)*x + 9/16*log(8*x + 4*sqrt(4*x^2 - 9))

________________________________________________________________________________________

Fricas [A]  time = 1.28349, size = 78, normalized size = 2.17 \begin{align*} \frac{1}{8} \, \sqrt{4 \, x^{2} - 9} x - \frac{9}{16} \, \log \left (-2 \, x + \sqrt{4 \, x^{2} - 9}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(4*x^2-9)^(1/2),x, algorithm="fricas")

[Out]

1/8*sqrt(4*x^2 - 9)*x - 9/16*log(-2*x + sqrt(4*x^2 - 9))

________________________________________________________________________________________

Sympy [A]  time = 0.204969, size = 22, normalized size = 0.61 \begin{align*} \frac{x \sqrt{4 x^{2} - 9}}{8} + \frac{9 \operatorname{acosh}{\left (\frac{2 x}{3} \right )}}{16} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(4*x**2-9)**(1/2),x)

[Out]

x*sqrt(4*x**2 - 9)/8 + 9*acosh(2*x/3)/16

________________________________________________________________________________________

Giac [A]  time = 2.15916, size = 41, normalized size = 1.14 \begin{align*} \frac{1}{8} \, \sqrt{4 \, x^{2} - 9} x - \frac{9}{16} \, \log \left ({\left | -2 \, x + \sqrt{4 \, x^{2} - 9} \right |}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(4*x^2-9)^(1/2),x, algorithm="giac")

[Out]

1/8*sqrt(4*x^2 - 9)*x - 9/16*log(abs(-2*x + sqrt(4*x^2 - 9)))